// SPDX-FileCopyrightText: Copyright 2025-2025 深圳市同心圆网络有限公司
// SPDX-License-Identifier: GPL-3.0-only

package core

import (
	"context"

	"gitcode.com/openseaotter/so_proto_gen_go.git/member_api"
)

type MemberDao interface {
	Set(ctx context.Context, projectId string, memberInfo *member_api.MemberInfo) error
	Get(ctx context.Context, projectId, memberUserId string) (*member_api.MemberInfo, error)
	Remove(ctx context.Context, projectId, memberUserId string) error
	List(ctx context.Context, projectId string) ([]*member_api.MemberInfo, error)
}
